<?php 

$user = "root";
$pass = "105085p2";
$serv = "localhost";

$db = "psm";

mysql_connect("$serv","$user","$pass") or die(mysql_error());

//mysql_select_db("$tabl") or die(mysql_error());
?>